package cn.lgwen.candy.runtime.core;

/**
 * 2019/12/24
 * aven.wu
 * danxieai258@163.com
 */
public interface Checkpoint {

    /**
     * snapshot and prepare commit
     */
    void snapshot();

    /**
     * commit snapshot
     */
    void commit();

}
